<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<form action="<?php echo site_url('gs/addgs');?>" method="post">

<?php for ($i;$i<=$num;$i++):?>
<div>
公司名称：<input type="text" name="gsname<?php echo $i?>"/>
公司站点：<input type="text" name="gswebsite<?php echo $i?>"/>
公司地址：<input type="text" name="gsaddress<?php echo $i?>"/>
</div>
<?php endfor;?>
<input type="hidden" name="num" value="<?php echo $num?>"/>
<input type="submit" value="提交"/>
</form>
</body>
</html>
